/*
 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
 */

#ifndef MYCOMBOBOX_H
#define MYCOMBOBOX_H

#include <QComboBox>
#include <QMouseEvent>

namespace BurnDlg {

class MyComboBox : public QComboBox {
    Q_OBJECT
public:
    explicit MyComboBox(QWidget *parent = nullptr);
    ~MyComboBox() override;
    virtual void SetViewWidth();
protected:
    void mousePressEvent(QMouseEvent *e) override;
};

}
#endif // MYCOMBOBOX_H
